<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width , user-scalable=no,initial-scale=1.0" />
<script src="/js/common_lib/jquery-1.7.min.js"> </script>
<script src="/js/my_lib/HashMap.js"> </script>
<script src="/js/my_lib/Hist.js"> </script>
<script type="text/javascript">
	$(document).ready(function() {
		
		var hh = new Hist();
		hh.setTargetDiv('mainContents');
		hh.addPage('', '/_blank.jsp');
		hh.addPage('page1', '/myhome/page1.jsp');
		hh.addPage('page2', '/myhome/page2.jsp');
		hh.addPage('page3', '/myhome/page3.jsp');
		
		$('._link').click(function(e){
			var pageId = $(this).attr('pageid');
			hh.goUrl(pageId , {} , e);
		});
		
	});
	
</script>
</head>
<body>

<div id="top">
	<a class="_link" pageid="page1">1번페이지로</a>
	<a class="_link" pageid="page2">2번페이지로</a>
	<a class="_link" pageid="page3">3번페이지로</a>
	<a href="page4.jsp" >다른 페이지로</a>
</div>

<div id="mainContents">
	
</div>
	

</body>
</html>